.confirm-modal{
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    width: 400px;
    padding: 20px;
    height: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(255,255,255,0.85);
    z-index: 999;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}
.confirm-modal h3{
    width: 100%;
    text-align: center;
    margin: 0;
}
.confirm-modal-btn{
    display: flex;
    justify-content: space-between;
    width: 30%;
    margin-top: 20px;
}
.confirm-modal-btn button{
    padding: 3px 10px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
}
.confirm-modal-btn button:nth-child(1){
    background-color: #ccc;
}
.confirm-modal-btn button:nth-child(1):hover{
    background-color: rgb(200, 200, 200,0.3);
}
.confirm-modal-btn button:nth-child(2){
    background-color: skyblue;
    color: #fff;
}
.confirm-modal-btn button:nth-child(2):hover{
    background-color: rgb(100, 160, 200);
}
.confirm-modal-close{
    position: absolute;
    top: 8px;
    right: 15px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    line-height: 18px;
    text-align: center;
    cursor: pointer;
    font-size: 16px;
    color: #fff;
    background-color: #e48377;
    transition: all 0.3s ease;
}
.confirm-modal-close:hover{
    background-color: #d94a38;
    /* 旋转 */
    transform: rotate(1turn);
}
